Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /


Chapter 3 - Standard Image-Compression Dialog Components

This chapter discusses standard image-compression dialog components. Standard image-compression dialog components provide a consistent user interface for selecting parameters that govern the compression of an image or image sequence and the management of the compression operation. Applications that use these components are freed from many of the details of obtaining and validating image-compression parameters and interacting with the Image Compression Manager to compress an image or sequence.

This chapter is divided into the following sections:

If you want to use a standard image-compression dialog component in your application, you should read the first two sections of this chapter, and then use the reference section as appropriate. If you want to create your own standard image-compression dialog component, you should be familiar with all of the information in this chapter.

As components, standard image-compression dialog components rely on the facilities
of the Component Manager. In order to use any component, your application must also use the Component Manager. If you are not familiar with this manager, see the chapter "Component Manager" in Inside Macintosh: More Macintosh Toolbox. In addition, you should be familiar with image compression in general and the Image Compression Manager in particular. See the chapter "Image Compression Manager" in Inside Macintosh: QuickTime for more information.

Note
Throughout this chapter, the term standard dialog component refers to the standard image-compression dialog component. The term standard dialog box refers to one or both of the two dialog boxes presented by the standard image-compression dialog component. These dialog boxes are shown in Figure 3-1 and Figure 3-2.

Chapter Contents
About Standard Image-Compression Dialog Components
Using Standard Image-Compression Dialog Components
Opening a Connection to a Standard Image-Compression Dialog Component
Displaying the Dialog Box to the User
Setting Default Parameters
Designating a Test Image
Displaying the Dialog Box and Retrieving Parameters
Extending the Basic Dialog Box
Creating a Standard Image-Compression Dialog Component
Standard Image-Compression Dialog Components Reference
Request Types
The Spatial Settings Request Type
The Temporal Settings Request Type
The Data-Rate Settings Request Type
The Color Table Settings Request Type
The Progress Function Request Type
The Extended Functions Request Type
The Preference Flags Request Type
The Settings State Request Type
The Sequence ID Request Type
The Window Position Request Type
The Control Flags Request Type
Standard Image-Compression Dialog Component Functions
Getting Default Settings for an Image or a Sequence
Displaying the Standard Image-Compression Dialog Box
Compressing Still Images
Compressing Image Sequences
Working With Image or Sequence Settings
Specifying a Test Image
Positioning Dialog Boxes and Rectangles
Utility Function
Application-Defined Function
Summary of Standard Image-Compression Dialog Components
C Summary
Constants
Data Types
Standard Image-Compression Dialog Component Functions
Getting Default Settings for an Image or a Sequence
Displaying the Standard Image-Compression Dialog Box
Compressing Still Images
Compressing Image Sequences
Working With Image or Sequence Settings
Specifying a Test Image
Positioning Dialog Boxes and Rectangles
Utility Function
Application-Defined Function
Pascal Summary
Constants
Data Types
Standard Image-Compression Dialog Component Routines
Getting Default Settings for an Image or a Sequence
Displaying the Standard Image-Compression Dialog Box
Compressing Still Images
Compressing Image Sequences
Working With Image or Sequence Settings
Specifying a Test Image
Positioning Dialog Boxes and Rectangles
Utility Function
Application-Defined Routine
Result Codes

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help